import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch, Redirect,HashRouter } from "react-router-dom";

import Home from './container/home';
import About from './container/about';
import InterviewQuestions from './container/InterviewQuestions';

class App extends Component {
  constructor(props) {
    super(props)
  }
  render() {
    return (
      <HashRouter>
        <Switch>
          <Route path="/" component={Home} exact />
          <Route path="/home" component={Home} to="/home"/>
          <Route path="/about" component={About} to="/about"/>
          <Route path="/Interview-questions" component={InterviewQuestions} to="/Interview-questions"/>
          
        </Switch>
      </HashRouter>
    )
  }
}

export default App;